﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DiagramDesigner
{
    public class StateDictionary : Dictionary<State, Dictionary<string, Transition>>
    {
        public string InitialState { get; set; }
        public string FinalState { get; set; }
    }

    public struct Transition
    {
        public string Event;
        public string AssociatedCommand; //optional
        public string NextState;
    }

    public struct State
    {
        public Guid Id;
        public string Name;
        public State(Guid id, string name)
        {
            Id = id;
            Name = name;
        }
    }
}
